<!DOCTYPE html>
<html>
<head>
 <include file="public:header" />
 <link rel="stylesheet" href="__PUBLIC__/css/user.css">
 <title>我的主题</title>
</head>

<body>
 <div class="ulist_nav">
   <div class="nil select" onClick="location.href='{:U('bbs')}'">我的主题</div>
   <div class="nil" onClick="location.href='{:U('bbs_reply')}'">我的回帖</div>
 </div>
<div class="uu_spacing"></div>

<div id="listData">
<include file="bbs_list" />
</div>
 


<include file="public:foot" />
</body>

<script>

 
 
 
 
  
  $(function () { 
      var loadurl = "{:query_url('bbs_list',array('p'=>2))}";
      $('#listData').dropload({
          scrollArea : window,
          loadDownFn : function(me){
		  $.getJSON(loadurl, function (result) {
				  if (result.code === 0) {
					  me.lock();
					  me.noData();
					  me.resetload();
					  return;
				  }
				  else if (result.code === 1) {
						  var ret = result.data;
						  $("#listData .dropload-down").before(ret.html);
						  loadurl = ret.loadurl;
						  me.resetload();
				  }else{
					alert('Ajax Error!');
					me.resetload();
				  }
              });
          }
      });
  });
</script>
</html>